package com.hucheng.order;

import com.alibaba.dubbo.spring.boot.annotation.EnableDubboConfiguration;
import com.hucheng.common.config.aspect.DynamicDataSourceAspect;
import com.hucheng.common.config.db.DynamicDataSourceRegister;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Import;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication
@EnableDubboConfiguration
@EnableTransactionManagement
@Import(value = {DynamicDataSourceRegister.class, DynamicDataSourceAspect.class})
public class DubboOrderProviderApplication {

	public static void main(String[] args) {
		SpringApplication.run(DubboOrderProviderApplication.class, args);
	}

}
